package com.yingdong.utils;

import java.util.concurrent.atomic.AtomicInteger;

public class IdFactory {
	private static AtomicInteger id = new AtomicInteger(1);;

	public static int nextInt() {
		return id.incrementAndGet();
	}

}
